package com.ruoyi.regulator.service.impl;

import com.ruoyi.regulator.domain.pojo.NjtCities;
import com.ruoyi.regulator.mapper.NjtCitiesMapper;
import com.ruoyi.regulator.service.NjtCitiesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(rollbackFor = Exception.class)
public class NjtCitiesServiceImpl implements NjtCitiesService {
    @Autowired
    private NjtCitiesMapper njtCitiesMapper;

    @Override
    public List<NjtCities> getNjtCitiesList(NjtCities njtCities) {
        return njtCitiesMapper.selectNjtCitiesList(njtCities);
    }

}
